﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Strategy
{
    public class PekingDuck : Duck
    {
        public PekingDuck()
        {
            flyBehavior = new NomalFlyBehavior();
            swimBehavior = new NomalSwimBehavior();
        }

        public override void Fly()
        {
            flyBehavior.Fly();
        }

        public override void Swim()
        {
            swimBehavior.Swim();
        }
    }
}
